package com.itheima.mapper;

import com.itheima.pojo.Bounty;
import com.itheima.pojo.BountyUserParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BountyMapper {

    List<Bounty> list();

    void addUB(BountyUserParam bup);

    void delete(Integer id);


    void update(Bounty bounty);

    void add(Bounty bounty);

    Bounty getbosById(Integer id);
}
